package com.shopping.miaosha.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author canger
 * @since 2019-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_info")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private Integer id;

    private String name;
    /**
     * 1代表男性 2代表女性
     */
    private Integer gender;
    private Integer age;
    private String telephone;
    /**
     * bywechat,byalipay,byphone
     */
    @TableField("register_mode")
    private String registerMode;
    /**
     * 第三方id
     */
    @TableField("third_party_id")
    private String thirdPartyId;


}
